const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // avatar: state => state.user.avatar,
  opCode: state => state.user.opCode,
  opName: state => state.user.opName,
  departName: state => state.user.departName,
  ws: state => state.user.ws,
  patientInfo: state => state.patient.patientInfo,
  groups: state => state.user.groups,
  templates: state => state.template.templates,
  tempOpen: state => state.template.tempOpen,
  dict: state => state.dict.dict,
  dictIndex: state => state.dict.dictIndex,
  visitNumToday: state => state.patient.visitNumToday,
  dailyPatients: state => state.patient.dailyPatients,
  msg: state => state.msg.msg
}
export default getters
